package com.meowcook.service;

import com.meowcook.pojo.dto.ReplyDTO;
import com.meowcook.pojo.dto.ReplyListDTO;
import com.meowcook.pojo.vo.ReplyVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-05-17
 * Time: 19:36
 */
public interface IReplyService {
    /**
     * 回复
     * @param replyDTO 回复信息
     */
    @Transactional
    void reply(ReplyDTO replyDTO);

    /**
     * 请求回复列表
     * @param replyListDTO 请求参数
     * @return List<Reply>
     */
    List<ReplyVO> selectByCommentId(ReplyListDTO replyListDTO);
}
